package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the TBSTAFFPOWERS database table.
 * 
 */
@Entity
@Table(name="TBSTAFFPOWERS")
@NamedQuery(name="Tbstaffpower.findAll", query="SELECT t FROM Tbstaffpower t")
public class Tbstaffpower implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(allocationSize=1,name="TBSTAFFPOWERS_STAFFPOWERSNO_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="TBSTAFFPOWERS_STAFFPOWERSNO_GENERATOR")
	@Column(name="STAFFPOWERS_NO")
	private long staffpowersNo;

	@Column(name="POWERS_NO")
	private BigDecimal powersNo;

	@Column(name="STAFF_NO")
	private BigDecimal staffNo;

	public Tbstaffpower() {
	}

	public long getStaffpowersNo() {
		return this.staffpowersNo;
	}

	public void setStaffpowersNo(long staffpowersNo) {
		this.staffpowersNo = staffpowersNo;
	}

	public BigDecimal getPowersNo() {
		return this.powersNo;
	}

	public void setPowersNo(BigDecimal powersNo) {
		this.powersNo = powersNo;
	}

	public BigDecimal getStaffNo() {
		return this.staffNo;
	}

	public void setStaffNo(BigDecimal staffNo) {
		this.staffNo = staffNo;
	}
	
	public Tbstaffpower(long staffpowersNo, BigDecimal powersNo, BigDecimal staffNo) {
		super();
		this.staffpowersNo = staffpowersNo;
		this.powersNo = powersNo;
		this.staffNo = staffNo;
	}
	
}